<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="./bs/css/bootstrap.css">
    <link rel="stylesheet" href="./bs/css/bootstrap-theme.css">
    <script src="./bs/js/jquery.min.js"></script>
    <script src="./bs/js/bootstrap.js"></script>
    <script src="./ng/angular.js"></script>
</head>
<body ng-app="myapp" ng-controller="ctrl">
    <div class="container">
        <h1 class="page-header">angularjs学习</h1>
        <form action="" class="form-horizontal">
            <!--<div class="well" ng-bind="mess">他说:</div>-->
            <div class="well">他说:{{mess}}</div>
            <div class="form-group">
                <label for="">请留言:</label>
                <input type="text" class="form-control" ng-model="mess">
            </div>
        </form>
    </div>

    <script>
        var app = angular.module('myapp',[]);
        app.controller('ctrl',['$scope',function (scope) {
            scope.mess = '小明你们好呀!';
        }]);
    </script>
</body>
</html>